{% extends "index.html" %}


{% block title %}首页{% endblock %}

{% block css %}
<script>
    function isInProgress(startTime, endTime) {
        const start = new Date(startTime).getTime();
        const end = new Date(endTime).getTime();
        const now = Date.now();
        // 优化：如果当前时间小于开始时间或在开始和结束时间之间，都返回true
        return now < start || (now >= start && now <= end);
    }
</script>
{% endblock %}

{% block body %}
{% include "页面/首页/表格.html" %}
{% endblock %}

{% block js %}{% endblock %}